package top.itbook.shop;

public class ShopArms extends Arms{
    // 无参构造器
    public ShopArms(){
        super();
    }

    // 有参构造器
    public ShopArms(String name,int attack,int money){
        super(name,attack,money);
    }

    // 有参构造器
    public ShopArms(String name,int attack,int money,String info){
        super(name,attack,money,info);
    }

    // 有参构造器
    public ShopArms(String name,int attack,int money,String info,boolean state){
        super(name,attack,money,info,state);
    }

    public void getArms(Arms arms){
        System.out.println("******************************");
        System.out.println("武器名：" + arms.getName());
        System.out.println("武器攻击力：" + arms.getAttack());
        System.out.println("价格：" + arms.getMoney());
        System.out.println("介绍：" + arms.getInfo());
        System.out.println("******************************");
    }
}
